@import './common';

.item-one {
  padding-left: 0;
  padding-top: 5%;
  padding-bottom: 4%;

  .item-text {
    p {
      margin-bottom: 1%;
      font-size: 14px;
      line-height: 190%;
      color: #2a2a2a;
      text-indent: 3%;

      &:first-child {
        font-size: 36px;
        text-indent: 0%;
      }

      &:nth-child(2) {
        margin-bottom: 3%;
        font-size: 21px;
        line-height: 150%;
        text-indent: 0%;
      }
    }
  }

  .pic-one {
    margin-top: 25%;

    img {
      width: 100%;
    }
  }
}

.item-two {
  padding-top: 5%;
  padding-bottom: 3%;
  background-color: #8cc11f;
  font-size: 16px;
  line-height: 28px;
  color: #fff;

  .container {
    >p {
      margin-bottom: 3%;
      font-size: 36px;
    }

    .row {
      .two-right {
        .email {
          margin-bottom: 2%;
          padding-top: 2%;
          padding-bottom: 2%;
          display: flex;
          justify-content: center;
          align-items: center;
          background: #fff;
          color: #8cc11f;
          font-size: 24px;
          border-radius: 10px;
          width: 60%;

          p {
            margin: 0;
          }
        }
      }
    }
  }
}

.item-three {
  padding-top: 4%;
  padding-bottom: 5%;
  border-bottom: 1px solid #d2d2d2;

  &:last-child {
    padding-bottom: 7%;
    border-bottom: none;
  }

  h2 {
    margin: 3% 0;
    padding: 0;
    font-size: 26px;
    color: #8cc11f;
  }

  h3 {
    margin: 1% 0;
    padding: 0;
    font-size: 18px;
    color: #2a2a2a;
  }

  p {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #2a2a2a;
    text-indent: 2%;
    line-height: 280%;
  }
}

.item-four {
  padding: 4% 0 4%;
  background-color: #f4f4f4;

  .container {
    >p {
      margin-bottom: 2%;
      font-size: 36px;
      color: #2a2a2a;
    }

    .row {
      .four-left {
        margin-bottom: 2%;
        margin-right: 5%;
        padding: 1% 0 1% 1%;
        border: 1px solid #e3e3e3;
        background-color: #fff;
        font-size: 16px;

        .location {
          display: flex;
          display: -webkit-flex;
          align-items: center;

          .loc-left {
            margin-right: 1%;
            width: 14%;

            img {
              width: 100%;
            }
          }

          >p {
            margin-bottom: 0;
          }
        }
      }

    }
  }
}

@media screen and (min-width:992px) and (max-width:1200px) {
  .item-one {
    .pic-one {
      margin-top: 52%;
    }
  }

  .item-two {
    .container {
      .row {
        .two-right {
          .email {
            font-size: 18px;
          }
        }
      }
    }
  }

  .item-four {
    .container {
      .row {
        .four-left {
          font-size: 14px;
        }
      }
    }
  }
}


@media screen and (max-width:992px) {
  .item-one {
    padding-top: 3%;

    .item-text {
      p {
        font-size: 12px;

        &:first-child {
          font-size: 30px;
        }

        &:nth-child(2) {
          font-size: 16px;
        }
      }
    }

    .pic-one {
      margin-top: 62%;
    }
  }

  .item-two {
    .container {
      font-size: 12px;

      >p {
        font-size: 30px;
      }

      .row {
        .two-right {
          .email {
            font-size: 14px;
          }
        }
      }
    }
  }

  .item-four {
    .container {
      >p{
        font-size: 30px;
      }
      .row {
        .four-left {
          font-size: 12px;
        }
      }
    }
  }
}

@media screen and (max-width:767.5px) {
  .item-one {
    padding-top: 2%;

    .item-text {
      p {
        font-size: 12px;

        &:first-child {
          text-align: center;
          font-size: 30px;
        }

        &:nth-child(2) {
          text-align: center;
          font-size: 15px;
        }
      }
    }

    .pic-one {
      margin-top: 1%;
    }
  }

  .item-two {
    .container {
      font-size: 14px;

      >p {
        text-align: center;
        font-size: 30px;
      }

      .row {
        .two-right {
          .email {
            margin: 0 auto 3%;
            font-size: 18px;
          }
        }
      }
    }
  }

  .item-three {
    h2 {
      margin: 5% 0;
      text-align: center;
    }

    h3 {
      margin: 2% 0;
    }

    p {
      text-indent: 0%;
    }
  }

  .item-four {
    .container {
      >p{
        text-align: center;
        font-size: 30px;
      }
      .row {
        .four-left {
          font-size: 12px;

          .location {
            .loc-left {
              margin-left: 1%;
              margin-right: 2%;
              width: 12%;
            }
          }
        }
        
      }
    }
  }
}